<?php

include_once '../../../lib/import.php';

$window = new WBAppWindow(array(
	'title' => 'SplitPanel Test',
	'width' => 300,
	'height' => 300,
	'layout' => 'full'
));


$panel = $window->add(array(
	'wbtype' => 'SplitPanel',
	'layout' => 'vbox'
));

$panel->add(array(
	'wbtype' => 'PushButton',
	'caption' => 'love',
	'width'  => 100,
	'maxWidth' => 200,
	'minWidth' => 100,
));

$panel->add(array(
	'wbtype' => 'PushButton',
	'caption' => 'love2',
));

$window->visible = true;

wbstart();

?>